﻿<!--
  Generated template for the SqlitePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <ion-title>Sqlite</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <ion-list>
    <ion-item>
      <ion-input type="text" placeholder="name" [(ngModel)]="name"></ion-input>
    </ion-item>
    <ion-item>
      <ion-input type="text" placeholder="score" [(ngModel)]="score"></ion-input>
    </ion-item>
    <ion-item>
      <p>当前共有：{{count}}条数据!</p>
    </ion-item>
  </ion-list>

  <button ion-button full (click)="createTable()">创建表</button>
  <button ion-button full (click)="insetData()">插入数据</button>
  <button ion-button full (click)="countData()">统计数据</button>
</ion-content>
